<?php
// +----------------------------------------------------------------------
// | sfadmin - Suifeng Administration
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://suifeng.tech All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: suifeng <1787585212@qq.com>
// +----------------------------------------------------------------------

namespace suifeng\builder\form\control;

use suifeng\builder\form\Control;

class Editor extends Control
{
    /**
     * 输出HTML。
     *
     * @return string
     */
    protected function _render_core()
    {
        $view = new \think\View();
        $view->assign(get_object_vars($this));
        $view->assign('control_id', $this->_get_control_id());
        $html = $view->fetch(__DIR__ . '/Editor.tpl');
        return $html;
    }
}

?>
